import request from "./http";

//获取书籍详情
export function getBookDetail(params){
    return request({
        url:"/book/getsub.json",
        method:"get",
        params
    })
}

//获取书籍目录
export function getCatalogue(params){
    return request({
        url:"reader/book/info.json",
        method:"get",
        params
    })
}

//获取章节内容
export function getBookContent(params){
    return request({
        url:"reader/book/content.json",
        method:"get",
        params
    })
}

//获取书籍评论
export function getBookComment(params){
    return request({
        url:"comment/getComments.json",
        method:"get",
        params
    })
}


//获取书籍评论回复
export function getBookReply(params){
    return request({
        url:"comment/getReplys.json",
        method:"get",
        params
    })
}

//获取书籍粉丝
export function getBookFans(params){
    return request({
        url:"book/present/fans.json",
        method:"get",
        params
    })
}